<?php	$atr=array(
					"name"=>"overTime",
					"onsubmit"=>"return checkOverTime()"
				  ); 
	echo form_open('overTime/edit1',$atr);
	$bar="OverTime Edit"; 
?> 

<table id="box-table-a" cellspacing="1" align="right" width="900px">
	<tr>
		<td colspan=12 align=right class=bar><?php echo $bar;?></td>
	</tr>
	<tr>
			<th>OverTime_ID</th>
   			<th>OT_Weekday</th>
   			<th>Time_Saturday</th>
   			<th>OT_Saturday</th>
   			<th>OT_Sunday</th>
   			<th>OT_Holiday</th> 
   			<th>ON_Weekday</th>
   			<th>ON_Sunday</th>
   			<th>ON_Holiday</th>
   			<th>EffectiveDate</th>
   			<th>Type</th>
   			<th>Action</th>  		
	</tr>
	<tr>
			<td><input type="text" name ="OverTime_ID" size="7" readonly="readonly" value=<?php echo $result->OverTime_ID; ?>></td>
   			<td><input type "text" name ="OT_Weekday" size="7" value=<?php echo $result->OT_Weekday; ?>></td>
   			<td><input type="text" name ="Time_Saturday"  size="7" value=<?php echo $result->Time_Saturday; ?>></td>
   			<td><input type="text" name ="OT_Saturday"  size="7" value=<?php echo $result->OT_Saturday; ?>></td>
   			<td><input type="text" name ="OT_Sunday"  size="7" value=<?php echo $result->OT_Sunday; ?>></td>
   			<td><input type="text" name ="OT_Holiday"  size="7" value=<?php echo $result->OT_Holiday; ?>></td>
   			<td><input type "text" name ="ON_Weekday" size="7" value=<?php echo $result->ON_Weekday; ?>></td>
   			<td><input type="text" name ="ON_Sunday"  size="7" value=<?php echo $result->ON_Sunday; ?>></td>
   			<td><input type="text" name ="ON_Holiday" size="7" value=<?php echo $result->ON_Holiday; ?>></td>
   			<td><input type "text" name ="EffectiveDate" size="7" value=<?php echo $result->EffectiveDate; ?> onkeyup="dtval(this,event)" maxlength="10"></td> 
   			<td><?php echo form_dropdown('Type', $type,$result->Type );?></td>  			
   		<td align="center"><input type="submit" id="submit" value="edit" /> </td>
	</tr>
</table>
